home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / rdf / nsIRDFInMemoryDataSource.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-05-08  |  2.6 KB  |  98 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIRDFInMemoryDataSource.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIRDFInMemoryDataSource_h__
  6. #define __gen_nsIRDFInMemoryDataSource_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIRDFResource_h__
  14. #include "nsIRDFResource.h"
  15. #endif
  16.  
  17. #ifndef __gen_nsIRDFNode_h__
  18. #include "nsIRDFNode.h"
  19. #endif
  20.  
  21. /* For IDL files that don't want to include root IDL files. */
  22. #ifndef NS_NO_VTABLE
  23. #define NS_NO_VTABLE
  24. #endif
  25.  
  26. /* starting interface:    nsIRDFInMemoryDataSource */
  27. #define NS_IRDFINMEMORYDATASOURCE_IID_STR "17c4e0aa-1dd2-11b2-8029-bf6f668de500"
  28.  
  29. #define NS_IRDFINMEMORYDATASOURCE_IID \
  30.   {0x17c4e0aa, 0x1dd2, 0x11b2, \
  31.     { 0x80, 0x29, 0xbf, 0x6f, 0x66, 0x8d, 0xe5, 0x00 }}
  32.  
  33. class NS_NO_VTABLE nsIRDFInMemoryDataSource : public nsISupports {
  34.  public: 
  35.  
  36.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IRDFINMEMORYDATASOURCE_IID)
  37.  
  38.   /* void EnsureFastContainment (in nsIRDFResource aSource); */
  39.   NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) = 0;
  40.  
  41. };
  42.  
  43. /* Use this macro when declaring classes that implement this interface. */
  44. #define NS_DECL_NSIRDFINMEMORYDATASOURCE \
  45.   NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource); 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  48. #define NS_FORWARD_NSIRDFINMEMORYDATASOURCE(_to) \
  49.   NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) { return _to EnsureFastContainment(aSource); } 
  50.  
  51. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  52. #define NS_FORWARD_SAFE_NSIRDFINMEMORYDATASOURCE(_to) \
  53.   NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnsureFastContainment(aSource); } 
  54.  
  55. #if 0
  56. /* Use the code below as a template for the implementation class for this interface. */
  57.  
  58. /* Header file */
  59. class nsRDFInMemoryDataSource : public nsIRDFInMemoryDataSource
  60. {
  61. public:
  62.   NS_DECL_ISUPPORTS
  63.   NS_DECL_NSIRDFINMEMORYDATASOURCE
  64.  
  65.   nsRDFInMemoryDataSource();
  66.  
  67. private:
  68.   ~nsRDFInMemoryDataSource();
  69.  
  70. protected:
  71.   /* additional members */
  72. };
  73.  
  74. /* Implementation file */
  75. NS_IMPL_ISUPPORTS1(nsRDFInMemoryDataSource, nsIRDFInMemoryDataSource)
  76.  
  77. nsRDFInMemoryDataSource::nsRDFInMemoryDataSource()
  78. {
  79.   /* member initializers and constructor code */
  80. }
  81.  
  82. nsRDFInMemoryDataSource::~nsRDFInMemoryDataSource()
  83. {
  84.   /* destructor code */
  85. }
  86.  
  87. /* void EnsureFastContainment (in nsIRDFResource aSource); */
  88. NS_IMETHODIMP nsRDFInMemoryDataSource::EnsureFastContainment(nsIRDFResource *aSource)
  89. {
  90.     return NS_ERROR_NOT_IMPLEMENTED;
  91. }
  92.  
  93. /* End of implementation class template. */
  94. #endif
  95.  
  96.  
  97. #endif /* __gen_nsIRDFInMemoryDataSource_h__ */
  98.